package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"Blog/controllers"
	)

func init() {
	beego.ErrorController(&controllers.ErrorController{})   //定义错误路由
                beego.AutoRouter(&controllers.AuthController{})   //定义路由
                beego.AutoRouter(&controllers.UserController{})   //定义路由
                beego.AutoRouter(&controllers.NodeController{})   //定义路由
}
